package com.jx.driving.transmission;

import com.jx.driving.message.TimeTerminalTransmissionMessage;
import com.jx.driving.protocol.terminal.annotation.BcdAnnotation;
import com.jx.driving.protocol.terminal.annotation.ByteAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

/**
 * 查询照片
 * 
 * @author shenliuyang
 *
 *         2016年8月15日下午2:13:57
 */
@TerminalAnnotation
public class Terminal0x8302Transmission extends TimeTerminalTransmissionMessage {
    @ByteAnnotation(order = 1)
    private short type;// 查询方式 1：按时间查询
    @BcdAnnotation(value = 6, order = 2)
    private String startTime;// 查询开始时间
    @BcdAnnotation(value = 6, order = 3)
    private String endTime;// 查询结束时间

    public short getType() {
	return type;
    }

    public void setType(short type) {
	this.type = type;
    }

    public String getStartTime() {
	return startTime;
    }

    public void setStartTime(String startTime) {
	this.startTime = startTime;
    }

    public String getEndTime() {
	return endTime;
    }

    public void setEndTime(String endTime) {
	this.endTime = endTime;
    }

    @Override
    public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("Terminal0x8302Transmission [type=").append(type).append(", startTime=").append(startTime)
		.append(", endTime=").append(endTime).append("]");
	return builder.toString();
    }

}
